package at.spengergasse.abifs.SDJPATest.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import at.spengergasse.abifs.SDJPATest.model.Athlet;
import at.spengergasse.abifs.SDJPATest.model.Coach;
import at.spengergasse.abifs.SDJPATest.model.TrainingGroup;

public interface TrainingGroupRepository extends JpaRepository<TrainingGroup, Long>
{
	TrainingGroup findByID(Long tg_id);
	
	List<TrainingGroup> findByCoach(Coach coach);
}
